import React, { Component } from 'react'
import './index.css'
export default class Item extends Component {
  render() {
    const {userMsg}=this.props
    return (
      <div className='userBox'>
        <img src={userMsg.avatar_url} alt="" />
        <div>{userMsg.login}</div>
      </div>
    )
  }
}
